package main;

/**
 * Created by twer on 3/3/14.
 */
public class FizzBuzzExercises {
    public void FizzBuzz(){
        for(int i=1; i<=100; i++){
            if(i%3 != 0 && i%5 != 0) System.out.print(i);
            if(i%3 == 0) System.out.print("Fizz");
            if(i%5 == 0) System.out.print("Buzz");
            System.out.println();
        }
    }
}
